package com.carmanage.dao;

import java.util.List;

import com.carmanage.domain.Car;
import com.carmanage.domain.Carschedule;
import com.carmanage.domain.Line;
import com.carmanage.util.PageController;

public interface ICarshed {

	
	
	public void saveCarshed(Carschedule carschedule);
	
	public void updateCarshed(Carschedule carschedule);
	
	public List<Carschedule> allCarschedules(PageController pc);
	
	public void deleteCarshedById(int schedule_id);
	
	public Carschedule findCarshedById(int schedule_id);
	
	public int getTotalRows();
	
	public List<Line> allLineid();
	
	public List<Car> allPlate();
	
	public List<Carschedule> findCarschedule(int runs_id,String plate,int line_id,String departure_time);
	
	public int getTotalRows(int runs_id,String plate,int line_id,String departure_time);
	
	
	
}
